package com.lanou.mapper;

import com.lanou.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    void registUser(@Param("phone") String phone,
                    @Param("nickname") String nickname,
                    @Param("password") String password);

    User userLogin(@Param("phone") String phone);


    User getOrderInfo (@Param("uid") Integer uid);


}

